package de.karnik.dokobu.navigation;

public abstract class NavElement {

	private String link = null;
	private String nameKey = null;
	private String descKey = null;
	
	private boolean group = false;
	
	private NavElement() {}
	
	public NavElement( boolean group, String nameKey ) {
		this( group, nameKey, null );
	}
	
	public NavElement( boolean group, String nameKey, String descKey ) {
		this( group, nameKey, descKey, null );
	}
	
	public NavElement( boolean group, String nameKey, String descKey, String link ) {
		this();
		this.setGroup( group );
		this.setNameKey( nameKey );
		this.setDescKey( descKey );
		this.setLink( link );
	}
	
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public String getNameKey() {
		return nameKey;
	}
	public void setNameKey(String nameKey) {
		this.nameKey = nameKey;
	}
	public String getDescKey() {
		return descKey;
	}
	public void setDescKey(String descKey) {
		this.descKey = descKey;
	}
	
	public boolean getGroup() {
		return this.group;
	}
	
	public void setGroup( boolean group ) {
		this.group = group;
	}
	
}
